package cn.itcast.user.service;

import cn.itcast.hmall.pojo.user.Address;
import cn.itcast.hmall.pojo.user.User;

import java.util.List;

public interface UserService {
    //根据uid查询数据
    List<Address> findAddressById();
    //根据id查数据
    Address findAddressByIdd(String addressId);

    User findUserById(String id);
    //扣钱
    Boolean balanceOfBuckle(Long userId, Long totalFee);
}
